/**
 * Copyright ©2016-2020 northkingbpo Corporation, All Rights Reserved
 * http://www.northkingbpo.net/
 */
package profile.hujia.simulation.data.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * class info
 *
 * @author hujia
 * @date 2019-06-14 14:03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NumberRange {
    private Integer small;
    private Integer big;

    public boolean isBetween(Integer num) {
        if (num >= small && num < big) {
            return true;
        }
        return false;
    }
}
